  HanCPU fr oqu cko
hslvolswgers athturmea l kvithecevic(TM)p,byoca

, fc oooooooL i nee x HanC P U F  ki q
, fooooooC P U F  ki q HaG oavki  an o  ks
, fooo- 0erta ab- T fr kou eso
hslrfieroptssi-

, fc ooDoeotik Brodfeiki  <modul@brodfub/>,
,

  Cevicda athtureg feine mn an   nch s
op
vvicdapea' yonithe PUs0rherhe;
   fly   ithe edaknle ( anhode eit
   rehcoryepow80, a tve in

oplow80

         Has
op
vvicdapea',oitheld anpow80 ithe PUnc ps Pes de
C upatta:










1. e Wt ca edak PUFr onGos
mnor?

2.oe Gos
mnors Ikvithecevic Kbyoca
2.1  Perrta yee 
2.2aePow80t
  
2.3  Uu esaac e
3.o  Tte Gos
mnoreIreacard.
inlsh e PUfr otC re

 
1. Wt caIs Ak PUFr onGos
mnor?
==============================

Most  pufr oe said sr( nlardu, ey
lel
eph ar , trs:hun)rar evnsf,ist
 pu ar oqu ckoa athtureggort omm oviceoodo
 ethe PUn eibecarha eione
fr oqu ck  Icrard s tonoodo
 dynveoc ar oqu ckoa athtu,ntthe pufr o
metmpmtou becoosee anspn atetsvoa nd
ys ofrev"sargn  ar oqu ck". So
suesherahanfgboa nd
ys l y
lesntrwasrta a' tonoodo
 ev"->sargn "
hin d nstead yonitheieie
ns: "->setpoltcy"nhin . Fr k"trs:hun", ey

fd ysishanfs a,ntty e- deHfe eoerfci'ioas cafr oqu ck(it oin sh e PUfr otpoltcy mwork wd, ased?
Ttaa'  dar  u When" pufr oegos
mnors". Twon
tvoslrhity inlmttispitwe
-- sh y'ag.oe 'elrhity exie
When"pow80savm"k
hsl"pyrrta yee "snshtv
s  soe 'ar oqu cko<stntcally  eishanlow8ou r khfmt st'ar oqu ck,
di peiiniery. Atnyeadt  wo morecs cddgos
mnors l y
lesnrhity fr 
addip- Tn nash eneas fut
 -,s nowy   ly m nyemorecn tsh rhn rhevarious
diodo
sel sh oti
et
ndcIfiats 
buuc  ynveoc ar oqu ckoa athtu
arrds . Uuotors cddaegend tc i aacard.
ais pufr oloodo
ed eit athtu
gos
mnors,oithsem 
ned, tprogdnieMuna
iery, 
hslot nbedt ar  ouned,
soyec he dr kiacddrahanfgboaseaiyBastcally, ia'  itheang feasuef fe graph:
e PUm 
ned, arha eimbetwe indepooottly	 |	HanCPU  
neoviced, arh

     it oin rahanfgbo"limhas" fc|        eitphanfoc ar oqu ci
e

                                 " PUfr otpoltcy"
		. usie
s yokrr oqu ckolimhas0(poltcy->{mht,max})

  fooooo as CPUfr otgos
mnorn eibecased, f	a/ foooooo\, f	/ fooooooo\, fooooooo/ foooooootthe pufr oogos
mnornrfci'is, foooooo/	 fooooooo( ynveocally  ro<stntcally), fooooo/	 foooooooas casargn _ar o  eis  s t oin
 foooo/	 fooooooos
oplimhas yokpoltcy->{mht,max}
 fooo/	 foooooooooooo\, foo/	 f	ooooo\, U Whenithe->setpoltcychin ,f	oU Whenithe->sargn chin ,
 oooos
oplimhas 
hslot  f	oooe 'ar oqu cko
vvsest
	ooooo"poltcy"n ensot. f	ooooasargn _ar o  ensot.
 f				hhn gi.dase yod t edret
 f				hhisn t oin poltcy->{mht,max}


2.oGos
mnors Ikvithecevic Kbyoca
================================

2.1 Perrta yee 

















Tth CPUfr otgos
mnorn"pyrrta yee "saeRsotthe PUnsstntcally  eisha
hfmt st'ar oqu ck(it oin sh ebard ss yokt athtu_m w_fr otes 
t athtu_mrx_fr o.ed
2.1 Pow80t
  















Tth CPUfr otgos
mnorn"pow80savm"kaeRsotthe PUnsstntcally  eisha
low8ou ar oqu ck(it oin sh ebard ss yokt athtu_m w_fr otes 
t athtu_mrx_fr o.ed
2.2 Uu esaac e














Tth CPUfr otgos
mnorn"ou esaac "reg feinot nou e,pr k
nyeou esaac 
programprunf tvo t o UID "root",  eis  soe ' PUn eiaitphanfoc ar oqu cy
by m  Whenaitysfs(r	apk"t athtu_aeRspea'"ltvnatsma lin sh e PU-rfile 
 wtusiork.ed

3.oTte Gos
mnoreIreacard.
inlsh e PUfr otC re
=============================================

A'peongos
mnornmtou  tgminardi selfawcompithe PUfr otc re.  Whe
" pufr o_ tgminar_gos
mnor". Tth sdtuct  pufr o_gos
mnor,snshtvehaseso
be passa'  eiCs cafasiin y, mtou . upntnash eang feasuevaluan:

gos
mnor->qs an-	ooooA unioqueqs andr kshtisgos
mnor
gos
mnor->gos
mnorn-	ooooTth gos
mnorncallbaacefasiin y
gos
mnor->rwnup	-	oooo.THIS_MODULE fr ksh egos
mnornm/gscde(idr, f	annr iate devic)

Tth gos
mnor->gos
mnorncallbaaceisehin /d ycomltthenlyasel (orn e-be-aeR)
 pufr o_poltcy sdtuct fr kshatn PU,oes din una
ighe i ativvis hTpa;ang feasueivvisedtrechlyaselecedeoptnd:
e PUFREQ_GOV_START:   Trthegos
mnornshay
ltta

vhas duty
fr ksh e PU, fooooopoltcy-> pue PUFREQ_GOV_STOP:    Trthegos
mnornshay
lei' has duty
fr ksh e PU, fooooopoltcy-> pue PUFREQ_GOV_LIMITS:  Tthelimhas or kdPUnpoltcy-> puruhvee  slotsene, fooooopoltcy->mht 
hslreltcy->max 
p use mnoea' ythd L"ivvise"iieMulbyoiceooliy x s
prob,s_ovic_ee drite
 pufr o_gos
mnor_l(una
ighe i at pu, una
ighe i ativvis)ehin  eorite
 PUfr otc re.omoans yo o dpyr lvicasu.ed
Tth CPUfr otgos
mnornxrya 
n atetrdPUnp dcd ar k said au Whenar  of
sueshe wo easiin ys:

i at pufr o_ said _sargn (adtuct  pufr o_poltcy *poltcy,
                                 una
ighe i atsargn _ar o,
                                 una
ighe i athoyabn y);

  at__ pufr o_ said _sargn (adtuct  pufr o_poltcy *poltcy,
                                   una
ighe i atsargn _ar o,
                                   una
ighe i athoyabn y);

sargn _ar o mtou bec t oin poltcy->mht 
hslreltcy->max,ots    xlt.
Wt c'  ithe iodo
see pv twansf ueshe wo easiin ys? Wtnaliy x gos
mnor
e
Wn d inctNap wtusirmea lpith ofrevhin  eorgos
mnor->gos
mnor,tvma
per- PUncpufr oovvicd ensdWn dheld(tnntthe pufr oometm, 
hslot re's
no nea'  eivvicd owagntnr( nlardu, shtiswork wtve ina rfadvvic). So
e in__ pufr o_ said _sargn doviceinoithsem 
san. Indin dothd Lc
san 
(fr kiealas ,eit nlsh re's ev"daemnoezme" easiin y suedrwakvs up 
es
mkpn c pd),ee dr pufr o_ said _sargn d eivvicdithe pufr oooer- PU
vvicdbefttmpapietraine  tispissa'  eiCshe pufr ooo dcd ar k said .

